package edu.sctu.alex.May.day20150512;

/**
 * Created by user03 on 2015/5/13.
 */
public class SonOne extends Father {
    Info[] info1;
    InterfaceOne InterfaceOne;



    public SonOne(Info[] info0) {

        super(info0);
        this.info1=info0;
    }

    @Override
    public void getSystem() {

       SetInfo setInfo = new SetInfo();
        for (int i = 0; i <info1.length ; i++) {
            if(info1[i].getScore()>=60){
                System.out.println("这名同学及格！他的信息是");
                System.out.println(info1[i].getName());
                System.out.println(info1[i].getAction());
                System.out.println(info1[i].getAge());
                System.out.println(info1[i].getScore());
                System.out.println(info1[i].getSex());

            }
        }


    }


}
